package czStvDpds.collisionGeometry;

/**
 * Představuje čtvercový hit box určený pro proces zjišťování kolizí.
 *
 * @author Jiří Švejda
 */
public class SquareHitBox {

    /**
     * V dlaždicích
     */
    private double x, y;

    public double getX() {
        return x;
    }

    public void setX(double x) {
        this.x = x;
    }

    public double getY() {
        return y;
    }

    public void setY(double y) {
        this.y = y;
    }
    /**
     * V dlaždicích
     */
    private double width, height;

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public double getWidth() {
        return width;
    }

    public void setWidth(double width) {
        this.width = width;
    }

    public SquareHitBox(double x, double y, double width, double height) {
        this.x = x;
        this.y = y;
        this.width = width;
        this.height = height;
    }
}
